package buzhidao;
class Animal{
    private void shout(){
        System.out.println("动物发出叫声");
    }
}
class Mimi extends Animal{
   public void shout(){
        System.out.println("哈基米那没路多");
    }
}
public class RewriteTest {
    public static void main(String[]args){
    Mimi hajimi=new Mimi();
    hajimi.shout(); 
}
}
